Optimal. Leaf size=25 \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2-9}}\right )}{\sqrt{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0055129, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {217, 206} \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2-9}}\right )}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{-9+b x^2}} \, dx &=\operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{-9+b x^2}}\right )\\ &=\frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{-9+b x^2}}\right )}{\sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.0062782, size = 25, normalized size = 1. \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2-9}}\right )}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 21, normalized size = 0.8 \begin{align*}{\ln \left ( x\sqrt{b}+\sqrt{b{x}^{2}-9} \right ){\frac{1}{\sqrt{b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.40248, size = 151, normalized size = 6.04 \begin{align*} \left [\frac{\log \left (2 \, b x^{2} + 2 \, \sqrt{b x^{2} - 9} \sqrt{b} x - 9\right )}{2 \, \sqrt{b}}, -\frac{\sqrt{-b} \arctan \left (\frac{\sqrt{-b} x}{\sqrt{b x^{2} - 9}}\right )}{b}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.00639, size = 39, normalized size = 1.56 \begin{align*} \begin{cases} \frac{\operatorname{acosh}{\left (\frac{\sqrt{b} x}{3} \right )}}{\sqrt{b}} & \text{for}\: \frac{\left |{b x^{2}}\right |}{9} > 1 \\- \frac{i \operatorname{asin}{\left (\frac{\sqrt{b} x}{3} \right )}}{\sqrt{b}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.62234, size = 31, normalized size = 1.24 \begin{align*} -\frac{\log \left ({\left | -\sqrt{b} x + \sqrt{b x^{2} - 9} \right |}\right )}{\sqrt{b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]